using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace DTO
{
	/// <summary> 
	///Author: nnamthach@gmail.com 
	/// <summary>
	
    public class TheoDoiLCDInfo : DTOInfo
    {
		#region Local Variable
		public class Field {
            public const string
				IdSX = "IdSX"
				,XuongId = "XuongId"
				,LineId = "LineId"
				,CongNhan1 = "CongNhan1"
				,CongNhan2 = "CongNhan2"
				,CongNhan3 = "CongNhan3"
				,CongNhan4 = "CongNhan4"
				,CongNhan5 = "CongNhan5"
				,CongNhan6 = "CongNhan6"
				,CongNhan7 = "CongNhan7"
				,SanLuong1 = "SanLuong1"
				,SanLuong2 = "SanLuong2"
				,SanLuong3 = "SanLuong3"
				,SanLuong4 = "SanLuong4"
				,SanLuong5 = "SanLuong5"
				,SanLuong6 = "SanLuong6"
				,SanLuong7 = "SanLuong7"
				,SanLuong8 = "SanLuong8"
				,SanLuong9 = "SanLuong9"
				,SanLuong10 = "SanLuong10"
				,SanLuong11 = "SanLuong11"
				,SanLuong12 = "SanLuong12"
				,SanLuong13 = "SanLuong13"
				,SanLuong14 = "SanLuong14"
				,SanLuong15 = "SanLuong15"
				,SanLuong16 = "SanLuong16"
				,SanLuong17 = "SanLuong17"
				,SanLuong18 = "SanLuong18"
				,SanLuong19 = "SanLuong19"
				,SanLuong20 = "SanLuong20"
            ;
		}
		private Int64 _IdSX;
		private String _XuongId;
		private Int32? _LineId;
		private String _CongNhan1;
		private String _CongNhan2;
		private String _CongNhan3;
		private String _CongNhan4;
		private String _CongNhan5;
		private String _CongNhan6;
		private String _CongNhan7;
		private Int32? _SanLuong1;
		private Int32? _SanLuong2;
		private Int32? _SanLuong3;
		private Int32? _SanLuong4;
		private Int32? _SanLuong5;
		private Int32? _SanLuong6;
		private Int32? _SanLuong7;
		private Int32? _SanLuong8;
		private Int32? _SanLuong9;
		private Int32? _SanLuong10;
		private Int32? _SanLuong11;
		private Int32? _SanLuong12;
		private Int32? _SanLuong13;
		private Int32? _SanLuong14;
		private Int32? _SanLuong15;
		private Int32? _SanLuong16;
		private Int32? _SanLuong17;
		private Int32? _SanLuong18;
		private Int32? _SanLuong19;
		private Int32? _SanLuong20;
		
		public Int64 IdSX { get{ return _IdSX; } set{ _IdSX = value; } }
		public String XuongId { get{ return _XuongId; } set{ _XuongId = value; } }
		public Int32? LineId { get{ return _LineId; } set{ _LineId = value; } }
		public String CongNhan1 { get{ return _CongNhan1; } set{ _CongNhan1 = value; } }
		public String CongNhan2 { get{ return _CongNhan2; } set{ _CongNhan2 = value; } }
		public String CongNhan3 { get{ return _CongNhan3; } set{ _CongNhan3 = value; } }
		public String CongNhan4 { get{ return _CongNhan4; } set{ _CongNhan4 = value; } }
		public String CongNhan5 { get{ return _CongNhan5; } set{ _CongNhan5 = value; } }
		public String CongNhan6 { get{ return _CongNhan6; } set{ _CongNhan6 = value; } }
		public String CongNhan7 { get{ return _CongNhan7; } set{ _CongNhan7 = value; } }
		public Int32? SanLuong1 { get{ return _SanLuong1; } set{ _SanLuong1 = value; } }
		public Int32? SanLuong2 { get{ return _SanLuong2; } set{ _SanLuong2 = value; } }
		public Int32? SanLuong3 { get{ return _SanLuong3; } set{ _SanLuong3 = value; } }
		public Int32? SanLuong4 { get{ return _SanLuong4; } set{ _SanLuong4 = value; } }
		public Int32? SanLuong5 { get{ return _SanLuong5; } set{ _SanLuong5 = value; } }
		public Int32? SanLuong6 { get{ return _SanLuong6; } set{ _SanLuong6 = value; } }
		public Int32? SanLuong7 { get{ return _SanLuong7; } set{ _SanLuong7 = value; } }
		public Int32? SanLuong8 { get{ return _SanLuong8; } set{ _SanLuong8 = value; } }
		public Int32? SanLuong9 { get{ return _SanLuong9; } set{ _SanLuong9 = value; } }
		public Int32? SanLuong10 { get{ return _SanLuong10; } set{ _SanLuong10 = value; } }
		public Int32? SanLuong11 { get{ return _SanLuong11; } set{ _SanLuong11 = value; } }
		public Int32? SanLuong12 { get{ return _SanLuong12; } set{ _SanLuong12 = value; } }
		public Int32? SanLuong13 { get{ return _SanLuong13; } set{ _SanLuong13 = value; } }
		public Int32? SanLuong14 { get{ return _SanLuong14; } set{ _SanLuong14 = value; } }
		public Int32? SanLuong15 { get{ return _SanLuong15; } set{ _SanLuong15 = value; } }
		public Int32? SanLuong16 { get{ return _SanLuong16; } set{ _SanLuong16 = value; } }
		public Int32? SanLuong17 { get{ return _SanLuong17; } set{ _SanLuong17 = value; } }
		public Int32? SanLuong18 { get{ return _SanLuong18; } set{ _SanLuong18 = value; } }
		public Int32? SanLuong19 { get{ return _SanLuong19; } set{ _SanLuong19 = value; } }
		public Int32? SanLuong20 { get{ return _SanLuong20; } set{ _SanLuong20 = value; } }
		
        #endregion LocalVariable
        
        #region Constructor
		public TheoDoiLCDInfo() { }
		public TheoDoiLCDInfo(Int64 IdSX, String XuongId, Int32 LineId, String CongNhan1, String CongNhan2, String CongNhan3, String CongNhan4, String CongNhan5, String CongNhan6, String CongNhan7, Int32 SanLuong1, Int32 SanLuong2, Int32 SanLuong3, Int32 SanLuong4, Int32 SanLuong5, Int32 SanLuong6, Int32 SanLuong7, Int32 SanLuong8, Int32 SanLuong9, Int32 SanLuong10, Int32 SanLuong11, Int32 SanLuong12, Int32 SanLuong13, Int32 SanLuong14, Int32 SanLuong15, Int32 SanLuong16, Int32 SanLuong17, Int32 SanLuong18, Int32 SanLuong19, Int32 SanLuong20) {
			_IdSX = IdSX;
			_XuongId = XuongId;
			_LineId = LineId;
			_CongNhan1 = CongNhan1;
			_CongNhan2 = CongNhan2;
			_CongNhan3 = CongNhan3;
			_CongNhan4 = CongNhan4;
			_CongNhan5 = CongNhan5;
			_CongNhan6 = CongNhan6;
			_CongNhan7 = CongNhan7;
			_SanLuong1 = SanLuong1;
			_SanLuong2 = SanLuong2;
			_SanLuong3 = SanLuong3;
			_SanLuong4 = SanLuong4;
			_SanLuong5 = SanLuong5;
			_SanLuong6 = SanLuong6;
			_SanLuong7 = SanLuong7;
			_SanLuong8 = SanLuong8;
			_SanLuong9 = SanLuong9;
			_SanLuong10 = SanLuong10;
			_SanLuong11 = SanLuong11;
			_SanLuong12 = SanLuong12;
			_SanLuong13 = SanLuong13;
			_SanLuong14 = SanLuong14;
			_SanLuong15 = SanLuong15;
			_SanLuong16 = SanLuong16;
			_SanLuong17 = SanLuong17;
			_SanLuong18 = SanLuong18;
			_SanLuong19 = SanLuong19;
			_SanLuong20 = SanLuong20;
		}
		public TheoDoiLCDInfo(DataRow dr) {
			LoadDataRow(dr);
		}

		public TheoDoiLCDInfo(DataRowView dr) : this(dr.Row) { }
		
		public TheoDoiLCDInfo(TheoDoiLCDInfo objEntr) : base(objEntr) {	}
        #endregion Constructor       
        
    }
}
